<?php

class ConfigMain extends Controller {

    private $_data;
    
    public function __construct(){
        parent::__construct();
        $this->_data = Array();
    }

    private function _render () {
        $this->_data['title'] = 'Gestión';
        
        $this->_view->rendertemplate('header',$this->_data);
        $this->_view->rendertemplate('menu',$this->_data);
        $this->_view->render('config/configMain',$this->_data);
        $this->_view->rendertemplate('footer',$this->_data);
    }
    
    public function index(){
        $this->_render();
    }

}

?>